import request from '@/utils/request'

// 某内某鸟的代码
// export function register (data) {
//   return request.post('/user/register', data)
// }

// 更专业 更像高级程序员写的代码
export const register = data => request.post('/user/register', data)

export const login = data => request.post('/user/login', data)
